-- GENERATED SPELL FOR [Shadethicket Stone Mover] --


function spell0_3782(pUnit, Event) --@Strength of Stone,Self--
pUnit:FullCastSpellOnTarget(6864,pUnit)
pUnit:RegisterEvent('Sorts_3782', 8288, 1)
end

function Sorts_3782(pUnit, Event)
local choix_sorts_3782 = math.random(0, 0)
if choix_sorts_3782 == 0 then
pUnit:RegisterEvent('spell0_3782', 1, 1)
end
end

function mob3782_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3782', math.random(1500, 3000), 1)
end

function mob3782_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3782_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3782_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3782, 1, 'mob3782_Action')
RegisterUnitEvent(3782, 2, 'mob3782_Leave')
RegisterUnitEvent(3782, 3, 'mob3782_Kill')
RegisterUnitEvent(3782, 4, 'mob3782_Die')
